package com.linb.pan.server.common.stream.event.search;

import lombok.*;
import org.springframework.context.ApplicationEvent;

import java.io.Serializable;

@Getter
@Setter
@ToString
@EqualsAndHashCode
@NoArgsConstructor
public class FileSearchEvent implements Serializable {

    private static final long serialVersionUID = 503440999662443164L;

    private String keyword;

    private Long userId;

    public FileSearchEvent(String keyword, Long userId) {
        this.keyword = keyword;
        this.userId = userId;
    }
}
